#ifndef _CRT_THREAD_H_
#define _CRT_THREAD_H_

#include <crt_define.h>

#ifdef	__cplusplus
extern "C" 
{
#endif

typedef void(*os_thread_cb)(void* arg);

int		_thread_create(_thread_t* tid, os_thread_cb entry, void* arg);
int		_thread_join(_thread_t *tid);
int		_thread_equal(const _thread_t* t1, const _thread_t* t2);

#ifdef	__cplusplus
}
#endif

#endif

